<?php 
require_once "admin/Model/Home.php";
require_once("seo.php");
$modelHome = new Home;
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="ctl00_Head1">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title><?php echo $title; ?></title>
<meta name="keywords" content="<?php echo $metaK; ?>">
<meta name="description" content="<?php echo $metaD; ?>">
<base href="http://<?php echo $_SERVER['SERVER_NAME']?>/" />
<link type="text/css" rel="stylesheet" href="static/reset.css">
<link type="text/css" rel="stylesheet" href="static/style.css">
<link type="text/css" rel="stylesheet" href="static/jquery-ui.css">
<script type="text/javascript" src="static/jquery.js"></script>
<script type="text/javascript" src="static/jquery-ui.js"></script>
<script type="text/javascript" src="static/lib.js"></script>
<script type="text/javascript" src="static/jquery.easing.js"></script>
<script type="text/javascript" src="static/nivo.js"></script>
<script type="text/javascript" src="js/home.js"></script>
<!--[if IE 7]><link rel="stylesheet" type="text/css" href='/Styles/Layout_ie7.css' /><![endif]-->
<!--Start of Zopim Live Chat Script-->
<script type="text/javascript">
window.$zopim||(function(d,s){var z=$zopim=function(c){z._.push(c)},$=z.s=
d.createElement(s),e=d.getElementsByTagName(s)[0];z.set=function(o){z.set.
_.push(o)};z._=[];z.set._=[];$.async=!0;$.setAttribute('charset','utf-8');
$.src='//v2.zopim.com/?1W6asdj0BYGtbC1HksUsmO9jWWTRcCgf';z.t=+new Date;$.
type='text/javascript';e.parentNode.insertBefore($,e)})(document,'script');
</script>
<!--End of Zopim Live Chat Script-->
</head>
<body>
<div id="wrapper">
  <div class="bg_header">
    <?php include "blocks/header.php"; ?>
  </div>
  <div id="banner-top">
    <?php include "blocks/slide.php"; ?>
  </div>
  <div id="container">
    <?php include "blocks/left.php"; ?>
    <div class="content-center">
      <?php if($mod!=''){ 
	  			switch($mod){
					case "menu" : include "page/detail.php";break;	
					case "news" : include "page/news.php";break;
					case "detail" : include "page/detailnews.php";break;	
					case "contact" : include "page/contact.php";break;							
				}			
			}else{ 
				include "blocks/about.php"; 
				include "blocks/new.php";				
	  		}
			include "blocks/slider.php"; 
	  ?>
    </div>
    <div class="clear"></div>
    <div class="bottom-content"></div>
  </div>
</div>
<div id="footer">
  <?php include "blocks/footer.php"; ?>
</div>
</body>
</html>